import request from "@/utils/request";

// 获取列表
export function getAllList(query) {
  return request({
    url: "/seiIntMapData/getTable",
    method: "get",
    params: query,
  });
}
// 保存
export function saveData(data) {
  return request({
    url: "/seiIntMapData/save",
    method: "post",
    data:data
  });
}
// 修改
export function updateData(data) {
  return request({
    url: "/seiIntMapData/update",
    method: "post",
    data:data
  });
}

// 查看
export function getDetail(query) {
  return request({
    url: "/seiIntMapData/getTable",
    method: "get",
    params:query
  });
}

//删除
export function del(id) {
  return request({
    url: "/floorArea/deleteById/"+id,
    method: "post",
  });
}

// 获取评估子区列表
export function getSubList(query) {
  return request({
    url: `/floorArea/getPage`,
    method: "get",
    params: query,
  });
}
